package com.example.httpclient.UI;

import android.graphics.Bitmap;
import android.view.View;
import android.widget.ImageView;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

import com.example.httpclient.R;

public class myViewHolder extends RecyclerView.ViewHolder {
    private ImageView imageView;


    public myViewHolder(@NonNull View itemView) {
        super(itemView);
        imageView = itemView.findViewById(R.id.image);
    }
    public void setData(Bitmap bitmap){
        imageView.setImageBitmap(bitmap);
    }
}
